home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
domacnost a kancelar
/
scribus
/
scribus-1.3.3.7-win32-install.exe
/
tcl
/
tix8.1
/
pref
/
14Point.fsc
< prev
next >
Wrap
Text File
|
2001-11-04
|
2KB
|
51 lines
#
# $Id: 14Point.fsc,v 1.1.1.1.2.1 2001/11/04 05:24:15 idiscovery Exp $
#
proc tixPref:InitFontSet:14Point {} {
global tixOption tcl_platform
switch -- $tcl_platform(platform) "windows" {
if {$tcl_platform(osVersion) < 5} {
set font "MS Sans Serif"
} else {
set font "Tahoma"
}
set fixedfont "Courier New"
set bd 1
} unix {
set font "helvetica"
set fixedfont "courier"
set bd 2
}
set tixOption(font) [list $font -14]
set tixOption(bold_font) [list $font -14 bold]
set tixOption(menu_font) [list $font -14]
set tixOption(italic_font) [list $font -14 bold italic]
set tixOption(fixed_font) [list $fixedfont -14]
set tixOption(border1) $bd
}
proc tixPref:SetFontSet:14Point {} {
global tixOption
option add *Font $tixOption(font) $tixOption(prioLevel)
option add *font $tixOption(font) $tixOption(prioLevel)
option add *Menu.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixMenu.font $tixOption(menu_font) $tixOption(prioLevel)
option add *Menubutton.font $tixOption(menu_font) $tixOption(prioLevel)
option add *Label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *Scale.font $tixOption(italic_font) $tixOption(prioLevel)
option add *TixBalloon*Label.font $tixOption(font) $tixOption(prioLevel)
option add *TixBitmapButton*label.font $tixOption(font) $tixOption(prioLevel)
option add *TixControl*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixLabelEntry*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixLabelFrame*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixMwmClient*title.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixNoteBook.nbframe.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixOptionMenu*menubutton.font $tixOption(font) $tixOption(prioLevel)
option add *TixComboBox*Entry.font $tixOption(font) $tixOption(prioLevel)
option add *TixFileSelectBox*Label.font $tixOption(bold_font) $tixOption(prioLevel)
}